import request from '@/util/post'

export function loginMethod(data) {
    return request({
        url: '/login',
        method: 'post',
        data
    })
}

// 获取验证码
export function getCodeImg() {
    return request({
        url: '/captchaImage',
        method: 'get'
    })
}
